package com.sky.service;

import com.sky.vo.OrderReportVO;
import com.sky.vo.SalesTop10ReportVO;
import com.sky.vo.TurnoverReportVO;
import com.sky.vo.UserReportVO;

import javax.servlet.http.HttpServletResponse;
import java.time.LocalDate;

public interface ReportService {
    /**
     *
     * @param startDate
     * @param endDate
     * @return
     */
    TurnoverReportVO getTurnoverReport(LocalDate startDate, LocalDate endDate);
    UserReportVO getuserreport(LocalDate startDate, LocalDate endDate);
    OrderReportVO getorderreport(LocalDate startDate, LocalDate endDate);
    SalesTop10ReportVO gettopten(LocalDate startDate, LocalDate endDate);
    void exxportexcel(HttpServletResponse respons) throws  Exception;
}
